script(src='/javascripts/collection.js')
#elements-container
  - each element in elements
    .element-cell
      a(href: '/rmb48/element?id=' + element.id)
        img(src: '/images/elements/icon/' + element.image)
      .element-name= element.name
      .element-en-name= element.en_name.replace(/^(.{12}).+$/, '$1...')
      .bubble
        .body= '' + element.now_point + '/' + element.max_point
      .new-ticker= (new Date).getTime() + (9*3600*1000) - Date.parse(element.updated) < 600000 ? 'New!' : ''
